<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
        <link href="css/index.css" rel="stylesheet" type="text/css"/>
    </head>
    <body>
        <div id="right" style="width: 310px; position: fixed; left: 500px; top: 50px;">
            <h2>编辑员工信息</h2>
  
            <form action="upadd.php" method="post">
                            
                <p class="one">姓名：<input class="name" name="name" type="text" placeholder="你的名字" value="<?php echo $row['name']?>"/></p>
                <p class="tow">所属部门：<input class="department"  name="department" type="text" value="<?php echo $row['department']?>"/></p>
                <p class="three">
                    <input type="radio" name="imgurl" value="images/1.jpg" <?php if ($row['photo']=='images/1.jpg') echo "checked='checked'";?>/>
                    <img src="images/1.jpg" alt=""/>
                    <input type="radio" name="imgurl" value="images/2.jpg"/<?php if ($row['photo']=='images/2.jpg') echo "checked='checked'";?>>
                    <img src="images/2.jpg" alt=""/>
                    <input type="radio" name="imgurl" value="images/3.jpg"/<?php if ($row['photo']=='images/3.jpg') echo "checked='checked'";?>>
                    <img src="images/3.jpg" alt=""/>
                    <input type="radio" name="imgurl" value="images/4.jpg"/<?php if ($row['photo']=='images/4.jpg') echo "checked='checked'";?>>
                    <img src="images/4.jpg" alt=""/>
                </p>
                <p class="four">出生日期：<input class="birthday" name="birthday"  type="text" value="<?php echo $row['birthday']?>" /></p>
                <p class="five">入职时间：<input class="entry" name="entry"  type="text" value="<?php echo $row['entry']?>" /></p>
                <p class="six"><input class="btn" type="submit" value="提交"/></p>
          
            </form>
              
        </div>
    </body>
</html>
